package com.xbongbong.paas.toolbox.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 *
 * @author 魏荣杰
 * @date 2020/3/10 8:44 下午
 */
@Setter
@Getter
@ToString
public class DataPermissionParamsPojo {
    private Integer saasMark;
    private Integer businessType;
    private Long menuId;
    private String userId;
    private Integer distributorMark;
    private String corpid;
    private Long formId;

    public DataPermissionParamsPojo() {
    }

    public DataPermissionParamsPojo(Integer saasMark, Integer businessType, Long menuId, Integer distributorMark) {
        this.saasMark = saasMark;
        this.businessType = businessType;
        this.menuId = menuId;
        this.distributorMark = distributorMark;
    }

    public DataPermissionParamsPojo(Integer saasMark, Integer businessType, Long menuId, String userId) {
        this.saasMark = saasMark;
        this.businessType = businessType;
        this.menuId = menuId;
        this.userId = userId;
    }

    public DataPermissionParamsPojo(Integer saasMark, Integer businessType, Long menuId, Integer distributorMark, String corpid, String userId, Long formId){
        this.saasMark = saasMark;
        this.businessType = businessType;
        this.menuId = menuId;
        this.distributorMark = distributorMark;
        this.corpid = corpid;
        this.userId = userId;
        this.formId = formId;
    }
}
